import app
import logging


class TenderApi:
    # 投资接口
    tender_url = app.BASE_URL + "/trust/trust/tender"

    # 投资
    @classmethod
    def tender(cls, session, body):
        logging.info(f"param body={body}")
        return session.post(cls.tender_url, data=body)
